//
//  LBCityPickerView.h
//  app
//
//  Created by 赵辉 on 16/7/12.
//  Copyright © 2016年 广东联结电子商务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LBCityMsgModel.h"

typedef NS_ENUM(NSInteger,LBCityPickerViewType) {
    LBCityPickerViewTypeProvincialCityAreas = 1,//省市区
    LBCityPickerViewTypeProvincialCity = 2,//省市
};

typedef void (^lbCityPickViewChoseBlock)(LBCityMsgModel *selectedProvinceModel,
                                         LBCityMsgModel *selectedCityModel,
                                         LBCityMsgModel *selectedAreaModel);

@interface LBCityPickerView : UIControl

+ (void)showCityPickViewByAnimation:(BOOL)animation
               LBCityPickerViewType:(LBCityPickerViewType)cityType
                           Complete:(lbCityPickViewChoseBlock)choseBlock;

- (NSMutableArray <LBCityMsgModel *> *)cityMsgArray;

@end
